#!/bin/sh

logs=$(find /var/lib/docker/containers/ -name *-json.log)
for log in $logs
  do
    echo "clean logs : $log"
    cat /dev/null > $log
  done
echo "done."

docker system prune
